package com.yang.mapper;

import com.yang.pojo.AttendanceRecord;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;

/**
 * @Author 杨天可
 * @Date 2021/3/15 10:12
 * @Version 1.0
 */
public interface AttendanceRecordMapper extends Mapper<AttendanceRecord> {

    //根据userId查找员工打卡记录
    AttendanceRecord getAttendanceByUserId(Integer userId);

    AttendanceRecord findByWorkDateAndId(Date workDate, Integer userInfoId);
}
